Bookly\Lib\Utils\Common A

Total Complexity 66
Dependencies 7
Dependents 74
Total lines 425
Lines of code 211
Logical lines of code 97
Comment lines 141
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
noCache()
S
62 6 13
getDurationSelectOptions()
S
52 5 26
getServiceDataForDropDown()
S
52 5 25
postsHaveShortCode()
S
62 5 11
getAdminEmails()
S
55 4 18
getCurrentPageURL()
S
63 5 9
getCurrentUserTimeZone()
S
61 4 12
getEmailHeaders()
S
59 3 13
_xor()
S
63 3 9
isCurrentUserCustomer()
S
71 3 5
getFilesystem()
S
67 2 7
escAdminUrl()
S
67 2 7
getCsrfToken()
S
70 2 6
generateToken()
S
66 2 8
prepareUrlReferrers()
S
64 2 10
isCurrentUserAdmin()
S
78 2 3
getRequiredCapability()
S
79 2 3
isCurrentUserStaff()
S
73 2 4
isCurrentUserSupervisor()
S
78 2 3
getTranslatedOption()
S
78 1 3
xorEncrypt()
S
78 1 3
xorDecrypt()
S
78 1 3
disableEmoji()
S
68 1 7
getTranslatedString()
S
77 1 3